//
//  CommonTools.swift
//  weibo_zha
//
//  Created by _zha on 16/10/23.
//  Copyright © 2016年 渣. All rights reserved.
//

import UIKit

let AOSwitchRootVCNOTI = "AOSwitchRootVCNOTI"

//屏幕宽高
let AOScreeW = UIScreen.main.bounds.size.width
let AOScreeH = UIScreen.main.bounds.size.height

// 微博相关信息
let AOAppKey = "3811668746"
let AOAppSecret = "874f45397227dcff65d1c837e5d53a30"
//let AOAppKey = "807655454"
//let AOAppSecret = "299d0639437f607f97c37e624947bffa"
let AORedirectURI = "http://www.baidu.com"

// 微博账号和密码
let AOWBName = "zha_oo@163.com"
let AOWBPassWD = "lll520.."
//let AOWBName = "rangyuan05788697@163.com"
//let AOWBPassWD = "bbb333"


//主调颜色
let AOHomeColor = UIColor.orange

// 常用字体大小
let AOBigFontSize: CGFloat = 18
let AONormalFontSize: CGFloat = 14
let AOSmallFontSize: CGFloat = 10

// 随机颜色
func AORandomColor() -> UIColor{
    let r = CGFloat(arc4random()%256)
    let g = CGFloat(arc4random()%256)
    let b = CGFloat(arc4random()%256)
    return UIColor(red: r/255, green: g/255, blue: b/255, alpha: 1)
}
